package com.sakiko.dailynote.pojo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "minio") // 根据属性前缀，批量拉取配置 (Spring会通过 setter方法注入配置值
public class MinioProperties {

    private String endpoint;

    private String accessKey;

    private String secretKey;
    
    private String bucketName;
}